// pages/main/components/rewardBar/rewardBar.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    rewards: [
      {
        title: '早睡早起',
        img: '/assets/person/sleep.png',
        degree: 1,
        date: '2024.09.01'
      },
      {
        title: '乐于助人',
        img: '/assets/person/help.png',
        degree: 1,
        date: '2024.11.21'
      },
      {
        title: '空调守卫者',
        img: '/assets/person/air.png',
        degree: 1,
        date: '2025.05.04'
      }
    ],
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})